module.exports = {
  plugins: {
    tailwindcss: {},
    autoprefixer: {},
    'postcss-pxtorem': {
      rootValue: 100,
      minPixelValue: 2, // 小于2px则不进行rem转换
      propList: ['*'],
      exclude: (e) => {
        if (/src(\\|\/)views(\\|\/)home(\\|\/)deviceScreen/.test(e)) {
          return false;
        }
        return true;
      },
    },
  },
};
